package com.cskaoyan.bean.vo.vxVo;

import com.cskaoyan.util.StringToArrayUtils;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author by WANGJun
 * @date 2022/6/9 17:40
 */
@Data
public class WXAftersaleBean {
    /**
     * id : 42
     * aftersaleSn : 20220609830629
     * orderId : 694
     * userId : 1
     * type : 1
     * reason : 不好看
     * amount : 66566
     * pictures : []
     * comment :
     * status : 1
     * addTime : 2022-06-09 16:09:35
     * updateTime : 2022-06-09 16:09:35
     * deleted : false
     */

    private int id;
    private String aftersaleSn;
    private int orderId;
    private int userId;
    private int type;
    private String reason;
    private int amount;
    private String comment;
    private int status;
    private String addTime;
    private String updateTime;
    private boolean deleted;
    private List<String> pictures;

    public void setPictures(String pictures) {
        this.pictures = StringToArrayUtils.toArray(pictures,String.class);
    }
}
